/*
 * L298N_test.cxx
 * 
 */


#include <iostream>
#include <wiringPi.h>
#include "L298N.h"
using namespace std;

int main(int argc, char **argv)
{
	wiringPiSetup();
	Motor_4 car;
	
	car.setM1(1,2,3);
	car.setM1(4,5,6);
	car.setM1(7,8,9);
	car.setM1(10,11,12);
	
	car.init();
	
	car.run_forward();
	car.run_backward();
	
	car.turn_left();
	car.turn_right();
	
	car.stop();
	
	car.Cleanup();
	
	return 0;
}

